package org.jeecg.modules.act.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.act.entity.ActPay;
import org.jeecg.modules.act.mapper.ActPayMapper;
import org.jeecg.modules.act.service.IActPayService;
import org.jeecg.modules.act.vo.ActPayVo;
import org.jeecg.modules.act.vo.ActivityVo;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import javax.annotation.Resource;

/**
 * @Description: 活动报名支付表
 * @Author: jeecg-boot
 * @Date: 2019-09-04
 * @Version: V1.0
 */
@Service
public class ActPayServiceImpl extends ServiceImpl<ActPayMapper, ActPay> implements IActPayService {

    @Resource
    private ActPayMapper payMapper;

    @Override
    public IPage<ActPayVo> findByPage(Page<ActPayVo> page, String userId, Integer status) {
        return payMapper.findByPage(page,userId,status);
    }

    @Override
    public ActPayVo detail(String orderNo, String userId) {
        return payMapper.detail(orderNo,userId);
    }
}
